package com.liu.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class BaiduConfig {

    @Value("${baidu.id}")
    private String id;
    @Value("${baidu.apiKey}")
    private String apiKey;
    @Value("${baidu.secretKey}")
    private String secretKey;
    @Value("${baidu.redirect_uri}")
    private String redirect_uri;
    @Value("${baidu.preUploadUrl}")
    private String preUploadUrl;
    @Value("${baidu.blockUploadUrl}")
    private String blockUploadUrl;
    @Value("${baidu.createFileUrl}")
    private String createFileUrl;
    @Value("${baidu.userInfo}")
    private String userInfo;

    @Value("${baidu.codeUrl}")
    private String codeUrl;
    @Value("${baidu.usAgeUrl}")
    private String usAgeUrl;
    @Value("${baidu.refreshUrl}")
    private String refreshUrl;
//    文件列表接口请求地址
    @Value("${baidu.fileListurl}")
    private String fileListurl;



}
